const Generic = require('./Generic');

class InvestSearch extends Generic {
    // 搜索投资
    searchInvset(keyword) {
        // console.log(params)
        return this.get('/shuangchuang/web/search/investment', { page: 1, pageSize: 10, keyword })
    }

    // 获取投资列表
    getInvsetList(params = {}) {
        return this.get('/shuangchuang/admin/list/investment', { page: 1, pageSize: 10, ...params })
    }

    // 搜索创业
    searchPioneering(keyword) {
        return this.get('/shuangchuang/web/search/innovation', { page: 1, pageSize: 10, keyword })
    }

    // 获取创业列表
    getPioneeringList(params = {}) {
        return this.get('/shuangchuang/admin/list/innovation', { page: 1, pageSize: 10, ...params })
    }

}

module.exports = new InvestSearch();